package com.spic.gateway.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * MinioProperties
 *
 * @author xuxiaochang@chinasofi.com
 * @date 2022/1/11
 */
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "minio")
public class MinioProperties
{
    private String url;

    private String bucketName;

    private String capture;

    public String getUrl()
    {
        return url;
    }

    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getBucketName()
    {
        return bucketName;
    }

    public void setBucketName(String bucketName)
    {
        this.bucketName = bucketName;
    }

    public String getCapture()
    {
        return capture;
    }

    public void setCapture(String capture)
    {
        this.capture = capture;
    }
}
